package com.entity;

//磁盘
public abstract class Disk {

    protected String brand; //品牌
    protected int size; //

    public Disk() {
    }

    public Disk(String brand, int size) {
        this.brand = brand;
        this.size = size;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
